package org.ajc.auth.mapper;

import org.ajc.auth.domain.Role;
import org.ajc.auth.dto.RoleDTO;
import org.ajc.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ajc
 * @since 2024-01-19
 */
public interface RoleMapper extends BaseMapper<Role> {

    void roleAuth(RoleDTO roleDTO);

    void deleteByRoleId(Role role);

    List<Long> queryAuthByRoleId(String id);
}
